/*!
 * \autor captainpeng
 * \date 2019-12-17
 * \version 1.0
 * \copyright
 */

#include<iostream>
#include<my.hpp>

int main(){
    using namespace std;
    using namespace my;
    ufile f("../main.cpp");
    ubuffer buf;
    std::cout<<"-----------"<<std::endl;
    for(int i = 0; i < 128; ++i)
        std::cout<<buf.nextUnicode(f)<<std::endl;
    std::cout<<buf.throwUString()<<std::endl;
    std::cout<<"-----------"<<std::endl;
    return 0;
}
